#ifndef LIGHTSENSOR_H
#define LIGHTSENSOR_H

#include <QAmbientLightSensor>
#include <QObject>

QTM_USE_NAMESPACE

class LightSensor : public QObject{

    Q_OBJECT

public:
    void startSensor();
    void stopSensor();
    QAmbientLightReading* senseLight();
private:
    QAmbientLightSensor _sensor;
};

#endif // LIGHTSENSOR_H
